package com.hyacinth.lotterysystem.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyacinth.lotterysystem.dao.entity.ActivityPrizeDO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ActivityPrizeMapper extends BaseMapper<ActivityPrizeDO> {
    @Select("select * from activity_prize where activity_id = #{activityId}")
    List<ActivityPrizeDO> selectByActivityId(Long activityId);
}
